import Vue from 'vue'
import App from './App'
import router from './router'
import './helper/interceptor'
import store from './store/index'
import ElementUI from 'element-ui'

import { auth } from '@/helper/checkAuth';

// 发布生产环境需要把模拟数据注释
// import './mock/index'

// 初始化样式
import './style/index.scss'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.directive('auth', auth)
new Vue({
  mixins: [],
  router,
  store,
  el: '#app',
  template: '<App/>',
  components: {App}
})
